<?php
/**
 *
 *
 * @author Zeon <scplay@gmail.com>
 * @date 2019/5/28 14:35
 * @copyright PanxSoft Inc.
 */

use App\Http\Controllers\Common\LanguageController;
use App\Http\Controllers\Common\OSSController;
use App\Http\Controllers\Common\SendPhoneVerifyCodeController;
use Illuminate\Support\Facades\Route;

/**
 * @see LanguageController::index()
 */
Route::get('/language', 'LanguageController@index')
    ->name(LanguageController::ROUTES['index']);

/**
 * @see SendPhoneVerifyCodeController::smsProxy()
 */
Route::any('/sms-proxy', 'SendPhoneVerifyCodeController@smsProxy')
    ->name(SendPhoneVerifyCodeController::ROUTES['smsProxy']);

/**
 * @see OSSController::callback()
 */
Route::any('/oss-callback', 'OSSController@callback')
    ->name(OSSController::ROUTES['callback']);

/**
 * @see OSSController::webSign()
 */
Route::any('/oss-web-sign', 'OSSController@webSign')
    ->name(OSSController::ROUTES['webSign']);
